//
//  LJOneAddressPicker.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2021/6/23.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LJOneAddressModel;

NS_ASSUME_NONNULL_BEGIN

typedef void(^LJOneAddressPickerFinishBlock)(LJOneAddressModel *__nullable address);

@interface LJOneAddressPicker : UIView

@property (nonatomic, strong) LJOneAddressModel *currentModel;
@property (nonatomic, strong) NSArray <LJOneAddressModel *>*dataArray;
@property (nonatomic, copy) LJOneAddressPickerFinishBlock finishBlock;

- (void)pickerViewShow;

@end

@interface LJOneAddressModel : NSObject

@property (nonatomic, copy) NSString *Id;
@property (nonatomic, copy) NSString *pid;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, strong) NSArray <LJOneAddressModel *>*children;

@end

NS_ASSUME_NONNULL_END
